# -*- coding: utf-8 -*-
"""
Created on Thu May 23 10:19:26 2024

@author: 48848
"""
"""
判断素数的函数
"""
x = int(input("请输入一个数"))
for i in range(2,x):
    if x % i == 0:
        print(x,"不是素数")
        break
    else:
        print(x,"是素数")
        break
        